class ArticlesController < ApplicationController
    def new
        
    end
    def create
        # render plain: params[:article].inspect
        @article = Article.new(params[:article])
 
        @article.save
        redirect_to @article
    end
    def show
        @article = Article.find(params[:id])
     end
end
